package com.glory.wxelectricitypda.bean;

import java.util.ArrayList;

public class RecipeListEntity {
    private RecipeInfoEntity  RecipeInfo;
    private ArrayList<RecipeEntity> List;

    public RecipeInfoEntity getRecipeInfo() {
        return RecipeInfo;
    }

    public void setRecipeInfo(RecipeInfoEntity recipeInfo) {
        RecipeInfo = recipeInfo;
    }

    public ArrayList<RecipeEntity> getList() {
        if (List == null) {
            return new ArrayList<>();
        }
        return List;
    }

    public void setList(ArrayList<RecipeEntity> list) {
        List = list;
    }

    public class RecipeEntity {
        private String id;
        private String equipmentType;
        private String equipmentId;
        private String recipeType;
        private String recipeName;
        private String version;
        private String status;
        private boolean isSelector;

        public boolean isSelector() {
            return isSelector;
        }

        public void setSelector(boolean selector) {
            isSelector = selector;
        }

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getEquipmentType() {
            return equipmentType == null ? "" : equipmentType;
        }

        public void setEquipmentType(String equipmentType) {
            this.equipmentType = equipmentType;
        }

        public String getEquipmentId() {
            return equipmentId == null ? "" : equipmentId;
        }

        public void setEquipmentId(String equipmentId) {
            this.equipmentId = equipmentId;
        }

        public String getRecipeType() {
            return recipeType == null ? "" : recipeType;
        }

        public void setRecipeType(String recipeType) {
            this.recipeType = recipeType;
        }

        public String getRecipeName() {
            return recipeName == null ? "" : recipeName;
        }

        public void setRecipeName(String recipeName) {
            this.recipeName = recipeName;
        }

        public String getVersion() {
            return version == null ? "" : version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getStatus() {
            return status == null ? "" : status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }

    public class RecipeInfoEntity {
        private String RecipeName;
        private String RecipeVersion;
        private String RecipeType;

        public String getRecipeName() {
            return RecipeName == null ? "" : RecipeName;
        }

        public void setRecipeName(String recipeName) {
            RecipeName = recipeName;
        }

        public String getRecipeVersion() {
            return RecipeVersion == null ? "" : RecipeVersion;
        }

        public void setRecipeVersion(String recipeVersion) {
            RecipeVersion = recipeVersion;
        }

        public String getRecipeType() {
            return RecipeType == null ? "" : RecipeType;
        }

        public void setRecipeType(String recipeType) {
            RecipeType = recipeType;
        }
    }
}
